package p.ithorns.framework.core.model;


/***
 * CodeEnum
 * @author 2020/9/14-14:26 by Ht.L
 */
public enum CodeEnum {

    // 成功
    SUCCESS(1),

    // 错误
    ERROR(0);

    private Integer code;
    CodeEnum(Integer code){
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

}
